Release 10.1A: OpenEdge Reporting:
Report Builder Deployment
Generating a list of reports, printing the reports, and updating the RB-STATUS field
The
rbplist1.psample procedure runs all the reports in therbsample.prlreport library and updates theRB-STATUSfield. This procedure assumes that all of the reports in the list generated by_getname.puse the Sports database. Report Engine connects to the Sports database only once on startup, and the same connection is used for each report since the => syntax is used in theRB-DB-CONNECTIONfield of theRBREPORTtable.To run the
rbplist1.pprocedure with therbsample.prlreport library, execute the following command:
Here is the
rbplist1.pprocedure:
The commented numbers correspond to the following step-by-step descriptions:
- Define the variables used in the procedure.
- Define the input parameter to the procedure.
- Run
_getname.pto generate a list of reports in the specified library.- Add the reports to the Runtable database.
- Run each report record in the RBREPORT table using the connection to the database on the command line. Then, update the
RB-STATUSfield.- For each record, view
RB-STATUSfield as an Alert Box, then delete the record.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |